package com.winchain.chainbill.bill.base.dao;

import com.shell.bee.persistence.mapper.BaseMapper;
import com.winchain.chainbill.bill.base.po.CbXfe;
import com.winchain.chainbill.bill.biz.transfer.vo.BillTransfer;
import com.winchain.chainbill.bill.biz.transfer.vo.BillXfeRecVo;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface CbXfeDao extends BaseMapper<CbXfe> {
	public abstract List<BillTransfer> selectXfesByBillId(@Param("ids") String paramString);

	public abstract List<BillTransfer> selectBillXfesByBillIdAndState(@Param("billId") String paramString1,
			@Param("xfeState") String paramString2);

	public abstract List<BillTransfer> selectBillXfesByPrntIdAndBillState(@Param("prntId") String paramString1,
			@Param("billState") String paramString2);

	public abstract int updateCbXfeState(CbXfe paramCbXfe);

	public abstract List<BillTransfer> selectSubXfesBillByPrntId(@Param("prntId") String paramString);

	public abstract BillXfeRecVo getBillSndById(String paramString);

	public abstract BigDecimal sumXfeAmt(@Param("cusId") String paramString1, @Param("issuer") String paramString2,
			@Param("strtDate") String paramString3, @Param("grpIds") String... paramVarArgs);
}
